/*
 * NonCopyable.h
 *
 *  Created on: 2012/03/03
 *      Author: takedanaoki
 */

#ifndef INCLUDED_NTENGINE_NONCOPYABLE_H
#define INCLUDED_NTENGINE_NONCOPYABLE_H

namespace NTEngine {

/// コピープロテクトクラス
/*
// こんな感じで使う
class Hoge : private NonCopyable {
public:
};
 */
class NonCopyable {
protected:
	NonCopyable() { }
	~NonCopyable() { }

private:
	NonCopyable( const NonCopyable& );
	void operator=( const NonCopyable& );
};

} // namespace NTEngine

#endif // INCLUDED_NTENGINE_NONCOPYABLE_H
